package com.lixin.config;

import com.lixin.bean.Order;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OrderConfig {

    @Bean
    public Order getOrder() {
        Order order = new Order();
        order.setNo("NO20200302454544");
        order.setPrice(120.98f);
        return order;
    }

}
